package com.tianya.portal.blog.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tianya.portal.common.core.domain.BaseEntity;

import java.util.Date;

public class BlogNoteBookVo  extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 标题 */
    private String title;

    /** 分类 */
    private String category;

    /** 标签 */
    private String tag;

    /** 描述 */
    private String description;

    /** 目录编号 */
    private String menuId;

    /** 作者 */
    private String author;

    /** 阅读数量 */
    private Long viewNumber;

    /** 点赞数 */
    private Long likeNumber;

    private String topFlag;

    private Long orderNum;

    private String topicId;

    /** 分类 */
    private String[] categorys;

    /** 标签 */
    private String[] tags;

    /** 最后查看时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date lastViewTime;

    /**
     * 是否公开
     */
    private String isPublic;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setCategory(String category)
    {
        this.category = category;
    }

    public String getCategory()
    {
        return category;
    }
    public void setTag(String tag)
    {
        this.tag = tag;
    }

    public String getTag()
    {
        return tag;
    }
    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }
    public void setMenuId(String menuId)
    {
        this.menuId = menuId;
    }

    public String getMenuId()
    {
        return menuId;
    }
    public void setAuthor(String author)
    {
        this.author = author;
    }

    public String getAuthor()
    {
        return author;
    }
    public void setViewNumber(Long viewNumber)
    {
        this.viewNumber = viewNumber;
    }

    public Long getViewNumber()
    {
        return viewNumber;
    }
    public void setLikeNumber(Long likeNumber)
    {
        this.likeNumber = likeNumber;
    }

    public Long getLikeNumber()
    {
        return likeNumber;
    }


    public String getTopFlag() {
        return topFlag;
    }

    public void setTopFlag(String topFlag) {
        this.topFlag = topFlag;
    }

    public Long getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Long order_num) {
        this.orderNum = order_num;
    }

    public String getTopicId() {
        return topicId;
    }

    public void setTopicId(String topicId) {
        this.topicId = topicId;
    }

    public String[] getCategorys() {
        return categorys;
    }

    public void setCategorys(String[] categorys) {
        this.categorys = categorys;
    }

    public String[] getTags() {
        return tags;
    }

    public void setTags(String[] tags) {
        this.tags = tags;
    }

    public Date getLastViewTime() {
        return lastViewTime;
    }

    public void setLastViewTime(Date lastViewTime) {
        this.lastViewTime = lastViewTime;
    }

    public String getIsPublic() {
        return isPublic;
    }

    public void setIsPublic(String isPublic) {
        this.isPublic = isPublic;
    }
}
